<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../favicon.ico">
    <title>仓库明细表</title>
    <!-- Bootstrap core CSS -->
    <link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link href="/public/css/main.css" rel="stylesheet">
</head>

<body>

    <div class="container-fluid">
        <div class="row">

            <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
                <h2 class="sub-header">修改出仓入仓</h2>
                <form action="/detail/edit_detail" method="post">
                    <!-- 
            用来放一些不希望被用户看见，但是需要被提交到服务端的数据
           -->


                    <div class="form-group">
                        <label for="">仓库名字</label>
                        <input type="text" class="form-control" id="" name="store_name" required minlength="2" maxlength="10" value="{{ details.store_name }}">
                    </div>

                    <div class="form-group">
                        <label for="">仓库编号</label>
                        <input type="text" class="form-control" id="" name="store_id" required minlength="2" maxlength="10" value=" {{ details.store_id }}">
                    </div>

                    <div class="form-group">
                        <label for="">商品类型</label>
                        <input type="text" class="form-control" disabled="goods_type" id="" name="time" required value=" {{ details.goods_type }}">
                    </div>
                    <div class="form-group">
                        <label for="">出货/补货</label>
                        <input class="form-control" type="number" id="" name="out_in" required value="{{ details.out_in }}">
                    </div>
                    <div class="form-group">
                        <label for="">剩余数量</label>
                        <input class="form-control" type="text" id="" name="num" required value="{{ details.num }}">
                    </div>
                    <button type="submit" class="btn btn-success">确认</button>
                </form>
            </div>
        </div>
    </div>
</body>

</html>